import request from '@/utils/request';
// 获取评论信息
export function getCommentList(userId) {
  return request({
    url: '/messagealter/selectMSGComment',
    method: 'GET',
    params: {
      userId
    }
  });
};
// 获取周报消息
export function getWeekList(userId) {
  return request({
    url: '/messagealter/selectMSGWeekly',
    method: 'GET',
    params: {
      userId
    }
  });
}
// 获取消息总数
export function getMessageNum(userId) {
  return request({
    url: '/messagealter/selectAllCount',
    method: 'GET',
    params: {
      userId
    }
  });
}
